package com.example.bannerapi.model

data class BannerResponse(
    val code: Int,
    val message: String,
    val ttl: Int,
    val data: Data
)

data class Data(
    val item: List<BannerItem>,
    val business_card: BusinessCard?,
    val floor_info: FloorInfo?,
    val user_feature: UserFeature?,
    val abtest: Abtest?,
    val preload_expose_pct: Int,
    val preload_floor_expose_pct: Int,
    val mid: Long
)

data class BannerItem(
    val id: Long,
    val bvid: String,
    val cid: Long,
    val goto: String,
    val uri: String,
    val pic: String,
    val pic_4_3: String,
    val title: String,
    val duration: Int,
    val pubdate: Long,
    val owner: Owner,
    val stat: Stat,
    val av_feature: Any?,
    val is_followed: Int,
    val rcmd_reason: RcmdReason,
    val show_info: Int,
    val track_id: String,
    val pos: Int,
    val room_info: RoomInfo?,
    val ogv_info: OgvInfo?,
    val business_info: BusinessInfo?,
    val is_stock: Int,
    val enable_vt: Int,
    val vt_display: String,
    val dislike_switch: Int,
    val dislike_switch_pc: Int
)

data class Owner(
    val mid: Long,
    val name: String,
    val face: String
)

data class Stat(
    val view: Int,
    val like: Int,
    val danmaku: Int,
    val vt: Int
)

data class RcmdReason(
    val reason_type: Int
)

data class BusinessCard(
    val empty: Boolean
)

data class FloorInfo(
    val empty: Boolean
)

data class UserFeature(
    val empty: Boolean
)

data class Abtest(
    val group: String
)

data class RoomInfo(
    val empty: Boolean
)

data class OgvInfo(
    val empty: Boolean
)

data class BusinessInfo(
    val empty: Boolean
)